package cn.edu.cdu.group4nb.mapper;

import cn.edu.cdu.group4nb.po.Recruit;
import cn.edu.cdu.group4nb.po.RecruitExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RecruitMapper {
    int countByExample(RecruitExample example);

    int deleteByExample(RecruitExample example);

    int deleteByPrimaryKeys(int[] recruitId);

    int deleteByPrimaryKey(Integer recruitId);

    int insert(Recruit record);

    int insertSelective(Recruit record);

    List<Recruit> selectByExample(RecruitExample example);

    List<Map<String,Object>> selectByPrimaryKey(Integer recruitId);

    int updateByExampleSelective(@Param("record") Recruit record, @Param("example") RecruitExample example);

    int updateByExample(@Param("record") Recruit record, @Param("example") RecruitExample example);

    int updateByPrimaryKeySelective(Recruit record);

    int updateByPrimaryKey(Recruit record);

}